<div class="left-con" style="height:744px;">
    <div class="article-menu-title main-bg-color">文章分类</div>
    <div class="article-menu">
        <foreach name="arr" item="v">
            <div class="article-menu-list">
            <if condition="$v['cat_id'] eq I('cat_id')">
                <h4><a href="{:U('index',array('cat_id'=>$v['cat_id'],'parent_id'=>$v['parent_id']))}"><b>{$v['cat_name']}</b></a></h4>
           <else/>
                <h4><a href="{:U('index',array('cat_id'=>$v['cat_id'],'parent_id'=>$v['parent_id']))}">{$v['cat_name']}</a></h4>
            </if>
            <ul style='display: block;background: #fff;'>
                <foreach name="v['_data']" item="v1">
                    <if condition="$v1['cat_id'] eq $data['cat_id']">
                        <li class="first curr">
                            <else/>
                        <li class="first ">
                    </if>
                    <a href="{:U('index',array('cat_id'=>$v1['cat_id'],'parent_id'=>$v1['parent_id']))}" target="_self">{$v1['cat_name']}</a>
                    </li>
                </foreach>
            </ul>
        </div>
    </foreach>
</div>
</div>
